
<#assign $pageid>operatesProfitMana</#assign>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="viewport" content="width=1300px">
    <title></title>
<#include "/common/base__config.ftl">
    <#assign $pageid>operatesProfitMana</#assign>
    <#include "/__private_torrent__/common__base_css.ftl">
<#include "/__private_torrent__/common__xz_css.ftl">
<#include "/__private_torrent__/zhbManageSystem__common_css.ftl">
<#include "/__private_torrent__/zhbManageSystem__operatesProfitMana_css.ftl">
    <script src="/style/common/js/jquery.js"></script>
    <#include "/__private_torrent__/common__base_js.ftl">
<#include "/__private_torrent__/common__xz_js.ftl">
<#include "/__private_torrent__/zhbManageSystem__common_js.ftl">
<#include "/__private_torrent__/zhbManageSystem__operatesProfitMana_js.ftl">
</head>
<body>
<div class="wrapper">
    <div class="sideBarBox">
    </div>
    <div class="contentBox">
<div class="content">
<h3 class="pageTitle">分润管理</h3>
<div class="searchBox">
    <ul>
        <li><label>时间</label><input type="date" id="dateForm" value="${query.date!}"></li>
        <li><b jbtn="searchBtn">搜索</b></li>
    </ul>
</div>
<#assign text>{"fields":[{"name":"date","value":""+query.date}]}</#assign>
<#assign moduleJsonStr=text?eval />
<#list [moduleJsonStr] as $it>
<#if $it.fields??>
<form id="wgt_search">
    <#list $it.fields as field>
    <input type=hidden name="${field.name!}" value="${field.value!}">
    </#list>
</form>
</#if>
</#list>
<div class="monthUserInfo">
    <ul>
        <li>
            <div class="leftTitle fl">
                总交易额
            </div>
            <div class="rightInfoCon fl">
                ${tradeMoney!}元
            </div>
        </li>
        <li>
            <div class="leftTitle fl">
                总笔数
            </div>
            <div class="rightInfoCon fl">
                ${tradeNum!}笔
            </div>
        </li>
        <li>
            <div class="leftTitle fl">
                本级分润
            </div>
            <div class="rightInfoCon fl">
                ${profit!}元
            </div>
        </li>
        <li>
            <div class="leftTitle fl">
                下级分润
            </div>
            <div class="rightInfoCon fl">
                ${childProfit!}元
            </div>
        </li>
        <li>
            <div class="leftTitle fl">
                昨日发放
            </div>
            <div class="rightInfoCon fl">
                ${yesterdayGrant!}个
            </div>
        </li>
    </ul>
</div>
<div class="tradeList">
<div class="listHead">
    <ul>
        <li class="dailiName">代理名称</li>
        <li class="tradeMoney">交易额</li>
        <li class="tradeNum">交易笔数</li>
        <li class="profit">本级分润</li>
        <li class="dailiProfit">代理分润</li>
        <li class="yesterdayGrant">昨日发放</li>
        <li class="withdrawalFee">提现费</li>
        <li class="newUserNum">新增商户</li>
        <li class="ope">操作</li>
    </ul>
</div>
    <div class="tradeInfo">
        <#list tradeList as item>
<div class="tradeItem">
    <ul>
        <li class="dailiName">代理名称</li>
        <li class="tradeMoney">${item.tradeMoney!}元</li>
        <li class="tradeNum">${item.tradeNum!}笔</li>
        <li class="profit">${item.profit!}元</li>
        <li class="dailiProfit">${item.dailiProfit!}</li>
        <li class="yesterdayGrant">${item.yesterdayGrant!}</li>
        <li class="withdrawalFee">${item.withdrawalFee!}</li>
        <li class="newUserNum">${item.newUserNum!}个</li>
        <li class="ope"><a href="operatesProfitDetail.htm?userId=${item.userId!}<#if query.date??>&date=${query.date!}</#if>" target="_blank">详情</a></li>
    </ul>
</div>
        </#list>
    </div>
<#assign text>{}</#assign>
<#assign moduleJsonStr=text?eval />
<#list [moduleJsonStr] as $it>
<#if $it.fields??>
<form id="wgt_search">
    <#list $it.fields as field>
    <input type=hidden name="${field.name!}" value="${field.value!}">
    </#list>
</form>
</#if>
</#list>
<#assign text>{}</#assign>
<#assign moduleJsonStr=text?eval />
<#list [moduleJsonStr] as $it>
<div class="jqPagination " id="jqPagination0"
    <#if $it.pageOption??>
        data-option="${$it.pageOption!}"
    <#else>
        data-option="${pageOption!}"
    </#if>
></div>
</#list>
</div>
</div>
    </div>
</div>
